package 组合实体模式.pojo_pojo1;

import 组合实体模式.pojo1.CoarseGrainedObject;

//组合实体
public class CompositeEntity {
   private CoarseGrainedObject cgo = new CoarseGrainedObject();

   public void setData(String data1, String data2){
      cgo.setData(data1, data2);
   }

   public String[] getData(){
      return cgo.getData();
   }
}
